<template>
  <el-container id="layout_id">
    <el-aside width="200px">
        小U商城
        <Left></Left>
    </el-aside>
    <el-container>
      <el-header>
        <Top></Top>
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import Left from '../components/Left.vue'
import Top from '../components/Top.vue'

export default {
    components:{
        Left,
        Top
    }
};
</script>

<style>
 .el-header{
    background-color: #FFF;
    color: #333;
    text-align: right;
    line-height: 60px;
  }
  
  .el-aside {
    background-color: #FF5D3E;
    color: #FFF;
    text-align: center;
    min-height: 100vh;

    line-height: 60px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
  }
  
  .el-main {
    background-color: #F2F2F2;
    color: #333;
    text-align: center;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
</style>